<?php /* Smarty version 2.6.18, created on 2009-05-21 08:37:19
         compiled from default/buy_index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'default/buy_index.html', 66, false),array('function', 'ul_get_offer', 'default/buy_index.html', 84, false),array('function', 'ul_get_news', 'default/buy_index.html', 109, false),array('function', 'ul_get_product', 'default/buy_index.html', 262, false),)), $this); ?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
" />
<title>求购&laquo;<?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<meta name="Author" content="stevenchow811@163.com" />
<meta name="generator" content="<?php echo $this->_tpl_vars['UaVersion']; ?>
" />
<meta name ="keywords" content="<?php echo $this->_tpl_vars['sitename']; ?>
,求购,b2b电子商务" />
<meta name="description" content="海量求购信息尽在<?php echo $this->_tpl_vars['sitename']; ?>
" /> 
<link rel="Shortcut Icon" href="favicon.ico" />
<link href="<?php echo $this->_tpl_vars['CSS_PATH']; ?>
css/style.css" rel="stylesheet" type="text/css" />
<style>
/**行业标题**/
.id_selected { background: url(<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/title_red.gif)} ;
.id_unselected { background: none;} 
.id_unselected a{ text-decoration:none; color:orange;}
.id_unselected a:hover{ text-decoration:underline; color:red;}
</style>
<script type="text/javascript">
function secBoard(n) 
{ 
    for(i=1;i<5;i++) 
    { 
        eval("document.getElementById('cl0"+i+"').className='id_unselected'"); 
    } 
    eval("document.getElementById('cl0"+n+"').className='id_selected'"); 
}
</script>
<?php echo $this->_tpl_vars['xajax_javascript']; ?>

<script language="javascript">
xajax_rebuildHTML("buy/index.php");
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="509" valign="top">
	<table width="505" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="50%" height="25" valign="bottom" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/title_bj_red01.gif"> 
            <table width="250" height="19" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="16">&nbsp;</td>
                <td width="119" valign="bottom" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/title_bj_red02.gif">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><div align="center" class="font12white"><strong>热门求购信息</strong></div></td>
                    </tr>
                  </table></td>
                <td width="121"><div align="right"><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
offer/list.php?filter=求购"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/more.gif" width="36" height="17" border="0"></a></div></td>
              </tr>
            </table></td>
          <td width="50%" valign="bottom" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/title_bj_red01.gif"><table width="250" height="19" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="16">&nbsp;</td>
                <td width="119" valign="bottom" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/title_bj_red02.gif">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><div align="center" class="font12white"><strong><?php echo ((is_array($_tmp=@$this->_tpl_vars['PositionCompany'][1]['name'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')); ?>
</strong></div></td>
                    </tr>
                  </table></td>
                <td width="121"><div align="right"><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
offer/list.php?companytype=<?php echo $this->_tpl_vars['PositionCompany'][1]['companytype_id']; ?>
"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/more.gif" width="36" height="17" border="0"></a></div></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td height="5" colspan="2" class="corgreen"></td>
        </tr>
        <tr> 
          <td colspan="2" class="corgreen"><table width="100%" height="250" border="0" cellpadding="0" cellspacing="1">
              <tr> 
                <td class="corwhite"><table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="248">
					  <table width="100%" border="0" cellspacing="0" cellpadding="0">
					  <tr>
						<?php echo smarty_function_ul_get_offer(array('type' => 'buy','titlelen' => '6'), $this);?>

						</tr>
                      </table>
					  </td>
                      <td width="3" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/dian.gif"></td>
                      <td width="249">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
					  <tr>
					  <?php echo smarty_function_ul_get_offer(array('type' => 'buy'), $this);?>

						</tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table>
      </td>
    <td width="5"></td>
    <td width="250"> <table width="250" height="290" border="0" cellpadding="0" cellspacing="0" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/value_bg.gif">
        <tr> 
          <td><table width="95%" height="280" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td height="60">&nbsp;</td>
              </tr>
			<tr><?php echo smarty_function_ul_get_news(array(), $this);?>
</tr>
            </table></td>
        </tr>
      </table> </td>
  </tr>
</table>
<br />
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="255" valign="top" class="lineblack"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td class="corblak" height="3"></td>
              </tr>
              <tr> 
                <td class="coryellow"> <div align="center"><span class="font14white">行业分类</span></div></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td height="32" valign="bottom" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/kindbj.gif"> <table width="255" height="26" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="5">&nbsp;</td>
                <td width="66" id="cl01" class="id_selected"><div align="center" class="font12white"><a href="javascript:void(false);" onClick="secBoard(1);xajax_getIndustryList(1,'buy');">求购信息</a></div></td>
                <td width="60" id="cl02" class="id_unselected"> <div align="center"><a href="javascript:void(false);" onClick="secBoard(2);xajax_getIndustryList(2,'sell');">供应信息</a></div></td>
                <td width="2"><img src="<?php echo $this->_tpl_vars['media_path']; ?>
images/kindbj01.gif" width="2" height="22"></td>
                <td width="60" id="cl03" class="id_unselected"> <div align="center"><a href="javascript:void(false);" onClick="secBoard(3);xajax_getIndustryList(3,'company');">公司库</a></div></td>
                <td width="2"><img src="<?php echo $this->_tpl_vars['media_path']; ?>
images/kindbj01.gif" width="2" height="22"></td>
                <td width="60" id="cl04" class="id_unselected"> <div align="center"><a href="javascript:void(false);" onClick="secBoard(4);xajax_getIndustryList(4,'product');">产品库</a></div></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td class="coryellow" height="2"></td>
        </tr>
        <tr>
          <td><div id="loadingMsg" style="align: right; display: none">正在加载数据... ...<br /><img src="<?php echo $this->_tpl_vars['SiteUrl']; ?>
images/industring.gif" border="0" /></div><div id="industryDIV" align="left"><?php echo $this->_tpl_vars['IndustryList']; ?>
</div></td>
        </tr>
      </table></td>
    <td width="5"></td>
    <td width="500" valign="top"><table width="500" height="31" border="0" cellpadding="0" cellspacing="0" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/titlebj04.gif">
        <tr>
          <td width="22">&nbsp;</td>
          <td width="138" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/titlebj05.gif"><div align="center" class="font14white">最新24小时求购</div></td>
          <td width="340"><div align="center" class="font12white"><marquee  behavior="scroll" direction=left width=340 scrollamount=2>
             今日共更新求购信息 <?php echo $this->_tpl_vars['TodayTradeAmount']; ?>
 条，共有<?php echo $this->_tpl_vars['AllTradeAmount']; ?>
条
              </marquee>
            </div></td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="3" cellspacing="3" class="lineblue">
        <tr>
			<?php echo smarty_function_ul_get_offer(array('col' => '2','max' => '24','type' => 'buy'), $this);?>

        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="8"></td>
        </tr>
      </table> 
      <table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="248" height="30" valign="top"> 
            <table width="100%" border="0" cellpadding="0" cellspacing="0" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/title_bj_red06.gif">
              <tr> 
                <td width="10" align="left" valign="top"><img src="<?php echo $this->_tpl_vars['media_path']; ?>
images/title_bj_red03.gif" width="6" height="24"></td>
                <td width="197" valign="bottom"> 
                  <table width="100%" height="18" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td class="font14white">合作</td>
                    </tr>
                  </table></td>
                <td width="43"><div align="right"><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
offer/list.php?filter=合作"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/more01.gif"  border="0"></a></div></td>
              </tr>
            </table></td>
          <td></td>
          <td width="249" valign="top"> 
            <table width="100%" border="0" cellpadding="0" cellspacing="0" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/title_bj_red06.gif">
              <tr> 
                <td width="10"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/title_bj_red03.gif" width="6" height="24"></td>
                <td width="187" valign="bottom"> <table width="100%" height="18" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td class="font14white">企业发布的求购信息</td>
                    </tr>
                  </table></td>
                <td align="right" valign="top"><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
offer/list.php?type=company"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/more01.gif"  border="0"></a></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td> 
		  <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
			  <?php echo smarty_function_ul_get_offer(array('type_id' => '4'), $this);?>

              </tr>			  
            </table>
			</td>
          <td width="3" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/dian.gif"></td>
          <td>
		<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
			  <?php echo smarty_function_ul_get_offer(array('type' => 'company'), $this);?>

              </tr>			  
            </table> 
			</td>
        </tr>
      </table> 
      <table width="500" height="60" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="16"><!-- a*d position --></td>
        </tr>
      </table>
      <table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="248" height="30" valign="top"> 
            <table width="100%" border="0" cellpadding="0" cellspacing="0" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/title_bj_red06.gif">
              <tr> 
                <td width="10" align="left" valign="top"><img src="<?php echo $this->_tpl_vars['media_path']; ?>
images/title_bj_red03.gif" width="6" height="24"></td>
                <td width="197" valign="bottom"> <table width="100%" height="18" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td class="font14white">招商</td>
                    </tr>
                  </table></td>
                <td width="43"><div align="right"><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
offer/list.php?filter=招商"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/more01.gif"  border="0"></a></div></td>
              </tr>
            </table></td>
          <td></td>
          <td width="249" valign="top"> 
            <table width="100%" border="0" cellpadding="0" cellspacing="0" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/title_bj_red06.gif">
              <tr> 
                <td width="10"><img src="<?php echo $this->_tpl_vars['media_path']; ?>
images/title_bj_red03.gif" width="6" height="24"></td>
                <td width="187" valign="bottom"> <table width="100%" height="18" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td class="font14white">库存商品</td>
                    </tr>
                  </table></td>
                <td align="right" valign="top"><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
product/list.php?sort_id=3"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/more01.gif"  border="0"></a></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td> 
		  <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
			  <?php echo smarty_function_ul_get_offer(array('type_id' => '5'), $this);?>

              </tr>			  
            </table></td>
          <td width="3" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/dian.gif"></td>
          <td> 
		  <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
			  <?php echo smarty_function_ul_get_product(array('sort' => '3'), $this);?>

              </tr>			  
            </table>
			</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.foot.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
</table>
</body>
</html>